package com.zichen.pr.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zichen.pr.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.Value;

/**
 * @program: pr
 * @description: 字典数据
 * @author: rzhang
 * @create: 2021-04-01 15:15
 */
@Data
@TableName("sys_dict_data")
public class SysDictData extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 字典编码 */
    @TableId(value = "dict_code",type = IdType.AUTO)
    private Long dictCode;

    /** 字典排序 */
    @TableField(value = "dict_sort")
    private Long dictSort;

    /** 字典标签 */
    @TableField(value = "dict_label")
    private String dictLabel;

    /** 字典键值 */
    @TableField(value = "dict_value")
    private String dictValue;

    /** 字典类型 */
    @TableField(value = "dict_type")
    private String dictType;

    /** 是否默认（Y是 N否） */
    @TableField(value = "is_default")
    private String isDefault;

    /** 状态（0正常 1停用） */
    @TableField(value = "status")
    private String status;

}
